package today.rocky.elegantcoding.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;

import java.util.Map;


/**
 * @version 1.0
 * @vlog:
 * @description:
 * @author: Rocky
 * @createDate: 2020/6/5 18:43
 */
@Configuration
public class LimiterConfiguration {

	@Bean
	public Map<String,Integer> limiterMap(){
		Map<String,Integer>map = new HashMap<>();
		map.put("/testOne/methodOne",20);
		return map;
	}
}
